<?php
class Application_Form_TestCollaborateur extends Zend_Form
{
	public function init()
	{
		$this->setName("TestC");
		
		$resultat = new Zend_Form_Element_Text("ResultatC");
		$resultat->setLabel("Resultat  : ");
		
		$codeButton = new Zend_Form_Element_Submit("exigenceButton");
		$codeButton->setLabel("Ajout test");
		
		$annulerButton = new Zend_Form_Element_Button("annulerExigenceButton");
		$annulerButton->setLabel("Annuler")->setAttrib("onClick", "window.location='acceuil'");

		$resetButton = new Zend_Form_Element_Reset("resetButton");
		$resetButton->setLabel("Effacer");
		
		$this->addElements(array($resultat,$codeButton,$annulerButton,$resetButton));
	}
}
?>